package com.thread;

public class RunnableClass implements Runnable{
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "正在执行");
        try {
            Thread.sleep(1000);

        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
